package com.icss.dao;

import com.icss.entity.Item;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface ItemDao extends JpaRepository<Item,Integer> {
    @Query(value = "select * from t_illegal_item where illegalbehavior =?1",nativeQuery = true)
    Item findItemByillegalBehavior(String illegalBehavior);
}
